package com.spring.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)//只能写在方法上
@Retention(RetentionPolicy.RUNTIME)
public @interface RequestMapping {
    //处理请求，结果集的映射
    String value();
    String method() default "GET";
}
